//
//  MacroKey.swift
//  全局 Key
//
//  Created by mini on 2025/4/28.
//

import Foundation


let LOCAL_KEY_PREFIX             = "LOCAL_TALA_PREFIX_"

let LOCAL_SESSIONID              = "LOCAL_SESSIONID"
let LOCAL_USERMODEL              = "LOCAL_USERMODEL"

let LOCAL_FIRST_INSTALL          = "LOCAL_FIRST_INSTALL"
let LOCAL_SMS_SEND_TIME          = "LOCAL_SMS_SEND_TIME"
let LOCAL_LOGIN_SUCCESS_TIME     = "LOCAL_LOGIN_SUCCESS_TIME"
let LOCAL_PHONE                  = "LOCAL_PHONE"
let LOCAL_IDFA                   = "LOCAL_IDFA"
let LOCAL_BURY_POINT_ONE         = "LOCAL_BURY_POINT_ONE"


let LOCAL_HOME_GOOGLE_MARKET     = "LOCAL_HOME_GOOGLE_MARKET"     // 首页是否已经执行 googleMarket 上报
let LOCAL_LOGIN_GOOGLE_MARKET    = "LOCAL_LOGIN_GOOGLE_MARKET"    // 登录页是否已经执行 googleMarket 上报
let LOCAL_AUTHCODR_GOOGLE_MARKET = "LOCAL_AUTHCODR_GOOGLE_MARKET" // 验证码 - Google Market上报
let LOCAL_FORCE_LOCATION         = "LOCAL_FORCE_LOCATION" // 是否开启强制定位
let LOCAL_HOME_FEEDBACK          = "LOCAL_HOME_FEEDBACK"  // 首页 - 大卡位 - 已经评价
let LOCAL_AUTH_PRODUCT_COUNT     = "LOCAL_AUTH_PRODUCT_COUNT"  // 认证 - 产品详情个数
let LOCAL_CITY_LIST              = "LOCAL_CITY_LIST"  // 城市List
let LOCAL_PRODUCT_DETAIL_ROUTE   = "ashNinjaYam"      // 产品详情 - 本地路由
let LOCAL_H5_SEND_EMAIL          = "lemonGing"        // h5方法映射 - 发送邮件
let LOCAL_H5_AGAIN_ONE_ORDER     = "accessBe"         // h5方法映射 - 再来一单
let LOCAL_H5_PISK_BURY_POINT     = "adjustIs"         // h5方法映射 - 风控埋点-上报埋点10
let LOCAL_H5_TO_GRADE            = "sycamoreT"        // h5方法映射 - 弹出 App 系统评分弹窗
let LOCAL_H5_CLOSE_CURRENT       = "cocoaRabb"        // h5方法映射 - 关闭当前H5
let LOCAL_H5_BACK_HOMEPAGE       = "accompli"         // h5方法映射 - 回到首页



let TIME_DAY_SHOW       = "yyyy-MM-dd"



// webView 地址
let LOCAL_PRIVACY_POLICY         = URL_HEAD + "/assessIvo"
let LOCAL_LOAN_AGREEMEENT        = URL_HEAD + "/breadMusse"
let LOCAL_CUSTOMER_SERVICE       = URL_HEAD + "/wheatXrayL"





// 网络请求
let RESPONSE_DATA = "excepting"       // 网络请求datas
let RESPONSE_MESSAGE = "persisted"    // 网络请求message
let RESPONSE_CODE = "sorrowfully"     // 网络请求提示码
let RESPONSE_CODE_SUCCESS = 0         // 请求成功
let RESPONSE_CODE_LOGINFAILURE = -2   // token失效，重新登录
let TIME_REQUEST_OUT = 10.0           // 超时时间




// MARK: - 通知
let NOTICE_USER_INFO_CHANGE      = "NOTICE_USER_INFO_CHANGE"
let NOTICE_LOGIN_SUCCESS         = "NOTICE_LOGIN_SUCCESS"     // 登录成功
let NOTICE_CHANGE_ORDER_TYPE     = "NOTICE_CHANGE_ORDER_TYPE" // 切换订单类型




// 定位权限
let DESC_LOCATION         = "Please go to Settings to open location permissions."
// 相机权限
let DESC_POWER_CAMERA     = "Please go to Settings to open camera permissions."
// 相册权限
let DESC_POWER_PHOTOALBUM = "Please go to Settings to open album permissions."
// 通讯录权限
let DESC_ADDRESS_BOOK     = "Do not partially authorize or deny address book permissions, go to Settings to open address book permissions."


